var arrList = new Array(1,2,3,4,5,6,7,8);


arrList.forEach((item) => {
    console.log('item', item);
});


for (let i = 0, l = arrList.length; i < l; i++) {
    const element = array[i];
    console.log('item', element);
}

for (const i in arrList) {
    const element = array[i];
    console.log('item', element);
}
